package com.yby6;import cn.hutool.extra.mail.MailUtil;import org.junit.jupiter.api.Test;import org.springframework.boot.test.context.SpringBootTest;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;import lombok.RequiredArgsConstructor;/** * @program: yangbuyi-rbac * @ClassName: mailTempl * @create: 2022/8/3:11:19 * @author: Yang Shuai * @desc: | **/@SpringBootTestpublic class mailTempl {    public static void main(String[] args) {        String send = MailUtil.send("yangbuyilikeyou@163.com", "test", "1", true);        System.out.println(send);    }}